<!DOCTYPE html>
<html xmlns:th="https://www.thymeleaf.org">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>客房信息</title>
<!-- import the static resource -->
<script type="text/javascript" th:src="@{/bootstrap3/js/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/jquery.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/bootstrap.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/carousel.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/npm.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/popper.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/popper.min.js}"></script>
<script type="text/javascript" th:src="@{/js/index.js}"></script>
<script type="text/javascript" th:src="@{/js/category.js}"></script>
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap-theme.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap-theme.min.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap.min.css}" />
</head>
<body>
<!--设备价格-->
<div class="container-fluid panel">
	<div class="panel-body" style="height: 450px;overflow: auto;">
		<table class="table table-responsive">
			<tr>
				<th>序号</th>
				<th>房间代码</th>
				<th>客房类型</th>
				<th>床位价格</th>
				<th>整房价格</th>
				<th>房间描述</th>
			</tr>
			
			<tr th:each="category,categoryStat:${categoryList}" class="layui-colla-item">
				<td th:text="${category.id}"></td>
				<td th:text="${category.code}"></td>
				<td th:text="${category.name}"></td>
				<td th:text="${category.bedprice}"></td>
				<td th:text="${category.roomprice}"></td>
				<td>
					<a class="btn btn-warning btn-sm" href="javascript:void(0)" th:onclick="showonecategory([[${category.code}]])">详情</a>
				</td>
			</tr>
		</table>
	</div>
</div>
</body>
</html>